#include<stdio.h>

int sort(int a[],int i,int j)
{
	int low,hight,key;
	if(i<j)
	{
		low=i;
		hight=j;
		key=a[i];
		while(i<j)
		{
			while(i<j&&a[j]>=key)
				j--;
			if(i<j)
				a[i++]=a[j];
			while(i<j&&a[i]<=key)
				i++;
			if(i<j)
				a[j--]=a[i];
		}
		a[i]=key;
		sort(a,low,i-1);
		sort(a,i+1,hight);
	}
}

int main(void)
{
	int a[1000],n=0,i;
	while((scanf("%d",&a[n]))!=EOF)
		n++;
	sort(a,0,n-1);
	for(i=0;i<n;i++)
		printf("%d\n",a[i]);
	return 0;
}
